<!DOCTYPE html>
<html>
<head>
	<title>E8NET</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <include file="./App/Admin/View/Include/css.html" />
    <link href="__PUBLIC__/Admin/css/lib/bootstrap-datetimepicker.min.css" type="text/css" rel="stylesheet" />
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/compiled/form-showcase.css" type="text/css" media="screen" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>

    <include file="./App/Admin/View/Include/navbar.html" />
    <include file="./App/Admin/View/Include/menu.html" />

	<!-- main container -->
    <div class="content">

        <!-- 表单提交按钮 -->
        <div class="skins-nav">
            <a href="javascript:submitForm('term-form','__APP__/Term/add');" class="skin first_nav selected">
                <span class="text">提交表单</span>
            </a>
            <a href="__APP__/Term" class="skin second_nav">
                <span class="text">放弃提交</span>
            </a>
        </div>

        <div class="container-fluid">
            <div id="pad-wrapper" class="form-page">
                <div class="row-fluid form-wrapper">
                    <!-- left column -->
                    <div class="span6 column offset3">
                        <form id="term-form" />
                            <div class="field-box">
                                <label>学期描述:</label>
                                <input class="span8 inline-input" name="detail" placeholder="请输入学期描述" type="text" />
                            </div>

                            <div class="field-box">
                                <label>学期开始时间:</label>
                                <input type="text" name="stime" class="input-large inline-input sdate" placeholder="请输入学期开始时间" />
                            </div>

                            <div class="field-box">
                                <label>学期结束时间:</label>
                                <input type="text" name="etime" class="input-large inline-input edate" placeholder="请输入学期结束时间" />
                            </div>

                            <div class="field-box">
                                <label>学期共有周数:</label>
                                <input class="span4 inline-input" name="week" placeholder="请输入该学期共有周数" type="text" />
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- end main container -->

	<include file="./App/Admin/View/Include/js.html" />
    <script src="__PUBLIC__/Admin/js/bootstrap-datetimepicker.min.js"></script>
    <script src="__PUBLIC__/Admin/js/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>

    <!-- call this page plugins -->
    <script type="text/javascript">
        $(function () {

            $('.sdate').datetimepicker({language:'zh-CN',format:'yyyy-mm-dd',minView:2}).on('changeDate', function(ev){
                $(this).datetimepicker('hide');
            });
            $('.edate').datetimepicker({language:'zh-CN',format:'yyyy-mm-dd',minView:2}).on('changeDate', function(ev){
                $(this).datetimepicker('hide');
            });


        });
    </script>

</body>
</html>